package com.task.poker.card.abs;


/**
 * CardType enum.
 * @author	JiDong
 * @create	November 14.2019
 *
 */
public enum CardType {

    HEART(0, "Heart"),
    SPADE(1, "Spade"),
    CLUB(2, "Club"),
    DIAMOND(3, "Diamond"),
    JOKE(4, "Black Joke");

    private Integer code;
    private String type;

    private CardType(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public Integer getCode() {
        return this.code;
    }


}
